MoveLearnMethod

@Serializable
data class MoveLearnMethod(val id: Int, val name: String, val descriptions: List<Description>, val names: List<Name>, val versionGroups: List<Handle.Named<VersionGroup>>) : NamedModel(source)

Methods by which Pokémon can learn moves. See: https://pokeapi.co/docs/v2#move-learn-methods

Parameters

id

The identifier for this resource.

name

The name for this resource.

descriptions

The description of this resource listed in different languages.

names

The name of this resource listed in different languages.

versionGroups

A list of version groups where this learn method is available.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, descriptions: List<Description>, names: List<Name>, versionGroups: List<Handle.Named<VersionGroup>>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard